package br.com.nrti.still.eventos;

import android.bluetooth.BluetoothAdapter;

public class Bluetooth {
	public static final String ACAO_BLUETOOTH_NAO_ALTERAR = "NAO";
	public static final String ACAO_BLUETOOTH_DESLIGAR = "DES";
	public static final String ACAO_BLUETOOTH_LIGAR = "LIG";
	public static final String ACAO_BLUETOOTH_VOLTAR_ANTERIOR = "ANT";
	
	private static BluetoothAdapter bAdapter = BluetoothAdapter
			.getDefaultAdapter();

	public static boolean isEnabled() {
		return bAdapter.isEnabled();
	}

	public static void setAtivo() {
		bAdapter.enable();
	}

	public static void setInativo() {
		bAdapter.disable();
	}
}
